
import { _decorator, Component, Node, Director, Label, Prefab } from 'cc';
import { GameCtrl } from './GameCtrl';
const { ccclass, property } = _decorator;

@ccclass('GameScene')
export class GameScene extends Component {
    @property(Label)
    public laber_:Label=null;
    
    @property(Prefab)
    pokerPrefab:Prefab=null;
     
    @property(Node)
    pokerContainer:Node=null;

    private m_GameCtrl:GameCtrl=null;

    start () {
        //this.laber_.string='这是游戏场景~~~';

        this.m_GameCtrl=new GameCtrl();
        this.m_GameCtrl.Init(this.pokerContainer,this.pokerPrefab);
        this.m_GameCtrl.start();     
    }
    
   
}

